<html {$html_attrs}>
<head>
<title>Rel Indicadores Regionais: Busca Avancada</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {white-space:nowrap;height:31px;padding-top:5px;}
#main_block{$id} {padding:10px 0;width:100%}
#inmain_block{$id} {margin:0 10px}
#fields_block{$id} {width:100%}
#buttons_block{$id} {width:100%;padding:10px 0;}
#buttons_block{$id} > * {margin:0 2px}
</style>
<!--[if IE]>
<style>
#main_block {padding:10px 10;}
#inmain_block {margin:0 0px}
</style>
<![endif]-->
</head>
<body bgcolor=white {$bodyattrs}>
{BEGIN body}
{$header}	
{BEGIN contents_block}
<table align=center id="center_block{$id}" style="BORDER: #cccccc 1px solid; font-size: x-small;"><tr><td id="contents_block{$id}">
	
<div id="header_block{$id}" class=tableheader>
Rel Indicadores Regionais - Busca Avancada
</div>

{BEGIN conditions_block}
<DIV id="conditions_block{$id}">
<span class=fieldname>Buscar: </span>
<input type="radio" name="srchType" {$all_checkbox}>{BEGIN all_checkbox_label}Todas condições{END all_checkbox_label}
&nbsp;&nbsp;&nbsp;
<input type="radio" name="srchType" {$any_checkbox}>{BEGIN any_checkbox_label}Qualquer condição{END any_checkbox_label}
</div>
{END conditions_block}

<table cellpadding=4 cellspacing=0 border=0 id="fields_block{$id}">
<tr valign=center class=blackshade>
<td align=center valign=middle>&nbsp;</td>
<td align=center valign=middle style="DISPLAY: none">&nbsp; </td>
<td align=center valign=middle>&nbsp;</td>
<td align=center valign=middle style="display:none">&nbsp;</td>
<td align=center valign=middle bgcolor="#FFFF00" style="display:none"><span class="fieldname"><strong>NEGAR<br>
  <small>(marque somente se  quiser que o resultado n&atilde;o tenha essa condi&ccedil;&atilde;o)</small>
</strong></span></td>
</tr>

{BEGIN id_desd_metas_ind_estrat_fieldblock}	
<tr class=shade>
	<td class=fieldname>ID
	
	<td style="DISPLAY: none">{$searchtype_id_desd_metas_ind_estrat}</td>
	<td width=270>{$id_desd_metas_ind_estrat_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_desd_metas_ind_estrat_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_desd_metas_ind_estrat_notbox}></td>
</tr>
{END id_desd_metas_ind_estrat_fieldblock}	
{BEGIN id_ano_planejamento_fieldblock}	
<tr class=shade>
	<td class=fieldname>Ano
	
	<td style="DISPLAY: none">{$searchtype_id_ano_planejamento}</td>
	<td width=270>{$id_ano_planejamento_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_ano_planejamento_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_ano_planejamento_notbox}></td>
</tr>
{END id_ano_planejamento_fieldblock}	
{BEGIN id_unidades_fieldblock}	
<tr class=shade>
	<td class=fieldname>Unidade Organizacional
	
	<td style="DISPLAY: none">{$searchtype_id_unidades}</td>
	<td width=270>{$id_unidades_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_unidades_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_unidades_notbox}></td>
</tr>
{END id_unidades_fieldblock}	
{BEGIN meta_proposta_fieldblock}	
<tr class=shade>
	<td class=fieldname>Meta Proposta
	
	<td style="DISPLAY: none">{$searchtype_meta_proposta}</td>
	<td width=270>{$meta_proposta_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$meta_proposta_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$meta_proposta_notbox}></td>
</tr>
{END meta_proposta_fieldblock}	
{BEGIN meta_validada_fieldblock}	
<tr class=shade>
	<td class=fieldname>Meta Validada
	
	<td style="DISPLAY: none">{$searchtype_meta_validada}</td>
	<td width=270>{$meta_validada_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$meta_validada_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$meta_validada_notbox}></td>
</tr>
{END meta_validada_fieldblock}	
{BEGIN id_indicador_estrategico_unidades_fieldblock}	
<tr class=shade>
	<td class=fieldname>Indicador
	
	<td style="DISPLAY: none">{$searchtype_id_indicador_estrategico_unidades}</td>
	<td width=270>{$id_indicador_estrategico_unidades_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_indicador_estrategico_unidades_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_indicador_estrategico_unidades_notbox}></td>
</tr>
{END id_indicador_estrategico_unidades_fieldblock}	
{BEGIN situacao_fieldblock}	
<tr class=shade>
	<td class=fieldname>Situação
	
	<td style="DISPLAY: none">{$searchtype_situacao}</td>
	<td width=270>{$situacao_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$situacao_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$situacao_notbox}></td>
</tr>
{END situacao_fieldblock}	
{BEGIN justificativa_fieldblock}	
<tr class=shade>
	<td class=fieldname>Justificativa
	
	<td style="DISPLAY: none">{$searchtype_justificativa}</td>
	<td width=270>{$justificativa_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$justificativa_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$justificativa_notbox}></td>
</tr>
{END justificativa_fieldblock}	
{BEGIN meta_contraproposta_fieldblock}	
<tr class=shade>
	<td class=fieldname>Contra Proposta
	
	<td style="DISPLAY: none">{$searchtype_meta_contraproposta}</td>
	<td width=270>{$meta_contraproposta_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$meta_contraproposta_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$meta_contraproposta_notbox}></td>
</tr>
{END meta_contraproposta_fieldblock}	
{BEGIN id_indicador_estrategico_fieldblock}	
<tr class=shade>
	<td class=fieldname>Unidade Medida
	
	<td style="DISPLAY: none">{$searchtype_id_indicador_estrategico}</td>
	<td width=270>{$id_indicador_estrategico_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_indicador_estrategico_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_indicador_estrategico_notbox}></td>
</tr>
{END id_indicador_estrategico_fieldblock}	
{BEGIN id_macroprocessos_fieldblock}	
<tr class=shade>
	<td class=fieldname>Macroprocessos
	
	<td style="DISPLAY: none">{$searchtype_id_macroprocessos}</td>
	<td width=270>{$id_macroprocessos_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$id_macroprocessos_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$id_macroprocessos_notbox}></td>
</tr>
{END id_macroprocessos_fieldblock}	
{BEGIN obs_cr_fieldblock}	
<tr class=shade>
	<td class=fieldname>Obs Cr
	
	<td style="DISPLAY: none">{$searchtype_obs_cr}</td>
	<td width=270>{$obs_cr_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$obs_cr_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$obs_cr_notbox}></td>
</tr>
{END obs_cr_fieldblock}	
{BEGIN obs_macroprocesso_fieldblock}	
<tr class=shade>
	<td class=fieldname>Obs Macroprocesso
	
	<td style="DISPLAY: none">{$searchtype_obs_macroprocesso}</td>
	<td width=270>{$obs_macroprocesso_editcontrol}&nbsp;</td>
    <td width=270 style="display:none">{$obs_macroprocesso_editcontrol1}&nbsp;</td>
    <td width=270 style="display:none"><input type=checkbox {$obs_macroprocesso_notbox}></td>
</tr>
{END obs_macroprocesso_fieldblock}	
</table>

<div class="blackshade" id="buttons_block{$id}">
{BEGIN search_button}
 <span class=buttonborder><input class=button type=button value="Buscar" {$searchbutton_attrs}></span>
{END search_button} 
{BEGIN reset_button}
 <span class=buttonborder><input class=button type=button value="Limpar" {$resetbutton_attrs}></span>
{END reset_button}
{BEGIN back_button}
 <span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs}></span>
{END back_button}
</div>
</td></tr></table>
{END contents_block}
{$footer}
{END body}
</body>
</html>
